<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>分配项目</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="__LAYUI__/css/layui.css" media="all">
  <link rel="stylesheet" href="__STATIC__/plugs/font-awesome/css/font-awesome.min.css" media="all">

</head>
<body>
    <div class="layui-container" style="width:90%;padding:15px;">
        <form class="layui-form layui-clear" action="{:url('inspection/mission/configItem',array('missionId'=>$info.id))}" method="post">
           	<div>
              	<input type="checkbox" id="allCheck" lay-filter="allCheck" lay-skin="primary" title="全选/反选" />
              	<input type="hidden" name="id" value="{$info.id}">
            </div>
            
            <table class="layui-table" lay-skin="" lay-even="">
                   <colgroup>
                        <col width="10%">
                        <col width="30%">
                        <col width="30%">
                        <col>
                    </colgroup>
                <tbody style="border: 1px solid #eee;">
                    {volist name="itemList" id="item"}
                <tr>
		            <td>
		                <input type="checkbox" name="items[]"  value="{$item.id}" {if in_array($item.id,$itemIds)}checked{/if} lay-skin="primary" />
		            </td>
	                <td>
	                    <p><b>巡检点：</b>{$item.patrolPoint}</p>
	                    <p><b>检查项目：</b>{$item.inspectItem}</p>
	                    <p>(<span style="color: red">{$item.importance}</span>)</p>
	                </td>
	                <td>
	                    <p><b>检查内容：</b> &nbsp;{$item.inspectContent}</p>
	                    <p><b>检查标准：</b> &nbsp;{$item.inspectStandard}</p>
	                    <p><b>检查对象：</b> &nbsp;{$item.inspectionObject}</p>
	                </td>
	                <td>
	                    <p><b>巡查周期：</b> &nbsp;{$item.cycleId}</p>
	                    <p><b>检查方法：</b> &nbsp;{$item.inspectMethod}</p>
	                    <p><b>参考资料：</b> &nbsp;{$item.referenceMaterial==null?'':$item.referenceMaterial}</p>
	                </td>
            	</tr>
                    {/volist}
                </tbody>
            </table>
            <div class="layui-form-item">
               <div>
                    <button class="layui-btn" id="save" lay-submit lay-filter="save">保 存 </button>
               </div>
              
            </div>
        </form>
    </div>  
    <script type="text/javascript" src="__LAYUI__/layui.js"></script>
    <script type="text/javascript" src="__JS__/inspection/mission.js"></script>
       

</body>
</html>           

